package com.tn.rtdata.util;

import java.util.Map;

import com.tn.rtdata.DataListener;

/**
 * A specialization of <code>Map</code> that introduces the concept of <code>DataListener</code>s.
 */
public interface ObservableMap<K, V> extends Map<K, V>
{
  /**
   * Adds the <code>dataListener</code>.
   */
  public void addDataListener(DataListener<V> dataListener);

  /**
   * Adds the <code>dataListener</code>.
   */
  public void removeDataListener(DataListener<V> dataListener);
}
